<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2018/3/6
  Time: 16:00
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="common/tag.jsp"%>
<html>
<head>
    <meta charset="utf-8">
    <title>Title</title>
    <%@include file="common/head.jsp" %>
</head>
<body>
<form class="form-horizontal" role="form" action="${ctx }/rule/addRule" method="post">
    <button type="button" >添加规则</button>
    <div class="form-group has-success">
        <label class="col-sm-2 control-label" >
            源ip
        </label>
        <div class="col-sm-10">
            <input type="text" name="src_ip" class="form-control">
        </div>
    </div>
    <div class="form-group has-warning">
        <label class="col-sm-2 control-label" >
            源端口
        </label>
        <div class="col-sm-10">
            <input type="text" name="src_port" class="form-control" >
        </div>
    </div>
    <div class="form-group has-error">
        <label class="col-sm-2 control-label" >
            目的ip
        </label>
        <div class="col-sm-10">
            <input type="text"  name="dst_ip" class="form-control" >
        </div>
    </div>
    <div class="form-group has-error">
        <label class="col-sm-2 control-label" >
            目的端口
        </label>
        <div class="col-sm-10">
            <input type="text" name="dst_port" class="form-control" >
        </div>
    </div>
    <div class="form-group has-error">
        <label class="col-sm-2 control-label" >
            报文类型
        </label>
        <div class="col-sm-10">
            <input type="text" name="pro" class="form-control" >
        </div>
    </div>
    <input type="hidden" name="isValid" value="true"/>
    <input type="hidden" name="isExist" value="true"/>
    <button type="submit" class="btn btn-primary center-block">提交</button>
</form>
</body>
</html>
